package com.cskaoyan.bean.wxbean;

import com.cskaoyan.bean.Cart;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author WeitenHong
 * @date 2020/10/6 14:06
 */
@NoArgsConstructor
@Data
public class CartIndexVO {
        /**
         * cartTotal : {"goodsCount":2,"checkedGoodsCount":2,"goodsAmount":4758,"checkedGoodsAmount":4758}
         * cartList : [{"id":72,"userId":1,"goodsId":1097011,"goodsSn":"1097011","goodsName":"原素系列1.8米实木床","productId":125,"price":3899,"number":1,"specifications":["标准"],"checked":true,"picUrl":"http://yanxuan.nosdn.127.net/fea36ef2514c904f4f45f1975f37f289.png","addTime":"2020-10-06 13:59:39","updateTime":"2020-10-06 13:59:39","deleted":false},{"id":73,"userId":1,"goodsId":1086052,"goodsSn":"1086052","goodsName":"20寸 铝镁合金登机箱","productId":108,"price":859,"number":1,"specifications":["标准"],"checked":true,"picUrl":"http://yanxuan.nosdn.127.net/93171a281c4ed272c007a050816e6f6c.png","addTime":"2020-10-06 14:00:44","updateTime":"2020-10-06 14:00:44","deleted":false}]
         */

        @JsonProperty("cartTotal")
        private CartTotal cartTotal;
        @JsonProperty("cartList")
        private List<Cart> cartList;

}
